package com.night.xjh.service;

import com.github.pagehelper.PageInfo;
import com.night.common.entity.xjh.Callback;
import com.night.common.entity.xjh.CallbackType;

import java.util.List;

/**
 * @ClassName: VisitService
 * @Description: //TODO
 * @author: xjh
 * @date: 2022/10/21-11:01
 * @version: v1.0
 */
public interface CallbackTypeService {
    void add(CallbackType callbackType);
    void delete(int id);
    void update(CallbackType callbackType);
    List<CallbackType> getAll();
    CallbackType getById(int id);
    List<CallbackType> getByName(String name);
}
